<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%--
 *  File:    ControlGLAccountMgmtFrm.jsp
 *  @Author: Langerwang
 *  Date:    2001/12/14
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ page language="java" %>
<%@ page import="java.util.*" %>

<%
  String strModuleName = "GL";
  String privilegeCode = "40108";
%>

<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/FrmDefault.inc" %>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%
  HashMap userinfo = (HashMap) session.getAttribute("userinfo");
  if (request.getParameter("glaccountlistid") == null && userinfo.get("booksetid") == null) {
    if(!"2".equalsIgnoreCase(request.getParameter("booksettype"))){
    HashMap errorhash = new HashMap();
    errorhash.put("messagecode", "J_NO_USED_BOOKSET");
    Vector errorcode = new Vector();
    errorcode.add(errorhash);
    session.setAttribute("errorcode", errorcode);
    response.sendRedirect("/" + ConstantProp.DEFAULT_WAR_NAME + "/Error.jsp?" + OvalTools.randomURL());
    }
  }
%>
</head>
<frameset rows="29,646" frameborder="NO" border="0" framespacing="0" cols="786*">
    <frame name="topFrame" scrolling="NO" border="1" noresize src="ControlGLAccountTop.jsp?<%= OvalTools.randomURL() %>&languagecode=<%=JspHelper.filterNull( strFrmLanguageCode )%>" >
    <frameset cols="243,76%" frameborder="NO" border="0" framespacing="0" rows="*">
        <frame name="leftFrame" scrolling="NO" border="0" noresize src="ControlGLAccountLeft.jsp?<%= OvalTools.randomURL() %>&languagecode=<%=JspHelper.filterNull( strFrmLanguageCode )%>&glaccountlistid=<%=JspHelper.filterNull( request.getParameter("glaccountlistid") )%>&booksettype=<%=JspHelper.filterNull( request.getParameter("booksettype") )%>&booksetid=<%=JspHelper.filterNull( request.getParameter("booksetid") )%>" mainFrame>
        <frame name="rightFrame" scrolling="NO" border="0" src="ControlGLAccountSummary.jsp?<%= OvalTools.randomURL() %>&languagecode=<%=JspHelper.filterNull( strFrmLanguageCode )%>&glaccountclasscode=<%=JspHelper.filterNull( request.getParameter("glaccountclasscode") )%>&glaccountlistid=<%=JspHelper.filterNull( request.getParameter("glaccountlistid") )%>&booksettype=<%=JspHelper.filterNull( request.getParameter("booksettype") )%>&booksetid=<%=JspHelper.filterNull( request.getParameter("booksetid") )%>">
    </frameset>
</frameset>
<noframes> </noframes>
<body>
</body>
</html>



